package com.example.factory.core.repository;

import com.example.factory.core.domain.Equipment;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Lei Tao
 */
@Repository
public interface EquipmentRepository extends PagingAndSortingRepository<Equipment, Long>, EquipmentRepositoryCustom{
    Equipment findByGuidAndArchivedFalse(String guid);
}
